package cz.proks.easyhelpdesk.gwt.ui;

import java.util.Collection;
import java.util.Map;

import cz.proks.easyhelpdesk.api.model.Category;
import cz.proks.easyhelpdesk.api.model.Ticket;
import cz.proks.easyhelpdesk.api.model.User;
import cz.proks.easyhelpdesk.gwt.ui.base.RestrictedHelpdeskView;

public interface ThreadView extends RestrictedHelpdeskView {
    void setPresenter(Presenter presenter);
    void setTickets(Collection<Ticket> tickets);    
    void setUsers(Map<Long, User> memberMap);
    void setCategories(Map<Long, Category> categoryMap);
    
    interface Presenter {
        void saveReplyTicket(Ticket ticket);
    }
}
